<?php

namespace Core;

use Service\ResponseService;
use Service\SystemService;

class Controller extends \Yaf\Controller_Abstract
{

    /**
     * 封装好的yaf-request类
     * @var Request;
     */
    public  $request;

    /**
     * @var ResponseService;
     */
    public $response;

    public function init()
    {
        SystemService::stopServer();

        $this->request = Di::get('request');
//        $this->request = new Request();
    }
}